<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>欢迎页</title>
	<script type="text/javascript" src="http://localhost/myweb/Static/hdjs/jquery-1.8.2.min.js"></script>
    <link rel="stylesheet" href="http://localhost/myweb/Static/hdjs/hdjs.css"/>
    <script type="text/javascript" src="http://localhost/myweb/Static/hdjs/hdjs.min.js"></script>
    <script type='text/javascript'>
HOST = 'http://localhost';
ROOT = 'http://localhost/myweb';
WEB = 'http://localhost/myweb/index.php';
URL = 'http://localhost/myweb/index.php/Tcadmin/Index/welcome';
APP = 'http://localhost/myweb/App';
COMMON = 'http://localhost/myweb/App/Common';
HDPHP = 'http://localhost/myweb/Core';
HDPHP_DATA = 'http://localhost/myweb/Core/Data';
HDPHP_EXTEND = 'http://localhost/myweb/Core/Extend';
MODULE = 'http://localhost/myweb/index.php/Tcadmin';
CONTROLLER = 'http://localhost/myweb/index.php/Tcadmin/Index';
ACTION = 'http://localhost/myweb/index.php/Tcadmin/Index/welcome';
STATIC = 'http://localhost/myweb/Static';
HDPHP_TPL = 'http://localhost/myweb/Core/Lib/Tpl';
VIEW = 'http://localhost/myweb/App/Tcadmin/View';
PUBLIC = 'http://localhost/myweb/App/Tcadmin/View/Public';
CONTROLLER_VIEW = 'http://localhost/myweb/App/Tcadmin/View/Index';
HISTORY = 'http://localhost/myweb/index.php/tcadmin';
</script>
    <link type="text/css" rel="stylesheet" href="http://localhost/myweb/App/Tcadmin/View/Public/common.css"/>
</head>
<body>
<div class="hd-title-header">
</div>
<table class="hd-table hd-table-list">
    <tr>
        <td style="color:red;font-weight: bold;">
            欢迎使天成网站内容管理系统！
        </td>
    </tr>
</table>
<div class="hd-title-header">
    当前短信余额为：<span style="color:red;"><?php echo $smsCount;?></span>条
</div>

<div style="height:10px;overflow: hidden">
    &nbsp;
</div>
<div class="hd-title-header">
    系统信息
</div>
<table class="hd-table hd-table-list">
    <tr>
        <td>PHP版本</td>
        <td><?php echo PHP_OS; ?></td>
    </tr>
    <tr>
        <td>运行环境</td>
        <td> <?php echo $hd['server']['SERVER_SOFTWARE'];?></td>
    </tr>
    <tr>
        <td>允许上传大小</td>
        <td><?php echo ini_get("upload_max_filesize"); ?></td>
    </tr>   
</table>
<div style="height:10px;overflow: hidden">
    &nbsp;
</div>
<div class="hd-title-header">
    程序团队
</div>
<table class="hd-table hd-table-list">
    <tr>
        <td class="hd-w80">版权所有</td>
        <td>
            <a href="#" target="_blank">
                钟贵贤
            </a>
        </td>
    </tr>
    <tr>
        <td>作者</td>
        <td> 钟贵贤</td>
    </tr>
    
</table>
<style type="text/css">
    a {
        color: #666;
    }

    div.wrap {
        margin-bottom: 0px;
    }

    h2 {
        font-size: 12px;
        font-weight: normal;
        margin-bottom: 10px;
    }

    div#RecordSite, div#RecordSite a {
        padding: 40px 0px 0px;
        font-size: 18px;
        text-align: center;
    }

    div#RecordSite a {
        color: #03565E;
        font-weight: bold;
        padding-left: 10px;
    }
</style>
    <?php if($updateMessage){ ?>
    <script>
        var updateMessage = '<?php echo $updateMessage;?>';
        hd_modal({
            width: 500,//宽度
            height: 260,//高度
            title: '通知',//标题
            content: "<div id='RecordSite'>" + updateMessage + "</div>",//提示信息
            timeout: 0,//自动关闭时间 0：不自动关闭
            shade: true,//背景遮罩
            shadeOpacity: 0.2
        });
    </script>
<?php } ?>
</body>
</html>